package net.csdn.business.common.domain.request.aiProxy;

import lombok.Data;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Validated
public class UserApiKeyAddParam {

   /**
    * 1:用户
    * 2:组织
    */
   @NotNull(message = "targetType不能为空")
   private Integer targetType;

   /**
    * targetType为2时必传
    */
   private String targetId;

   @NotBlank(message = "apiKey不能为空")
   private String apiKey;

   private String secretKey;

   @NotBlank(message = "modelId不能为空")
   private String modelId;

   @NotBlank(message = "version不能为空")
   private String version;

   private String customModelName;

}
